<?php /* Smarty version 2.6.14, created on 2014-11-12 11:03:43
         compiled from platform_manager.index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'platform_manager.index.html', 32, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="" method="POST" id="adminform">
<table border="0" class="search" cellspacing="0" id="search">
   	<tr>
    	<td class="searchlogo"></td>
        <td><input type="text" name="name" value="<?php echo $_POST['name']; ?>
"><input type="submit" value="<?php echo $this->_tpl_vars['systemLang']['search']; ?>
" class="button" onclick="submitform('<?php echo @BASEURI; ?>
platform_manager/index',false)"/></td>
    </tr>
</table>
<table width="100%" border="0" class="adminlist" cellspacing="0">
  <thead>
  <tr>
      <th><input id="toggle" type="checkbox" value=""/></th>
    <th><?php echo $this->_tpl_vars['systemLang']['number']; ?>
</th>
    <th><?php echo $this->_tpl_vars['systemLang']['name']; ?>
</th>
    <th><?php echo $this->_tpl_vars['systemLang']['code']; ?>
</th>
    <th><?php echo $this->_tpl_vars['systemLang']['appKey']; ?>
</th>
    <th><?php echo $this->_tpl_vars['systemLang']['appSecret']; ?>
</th>
    <th><?php echo $this->_tpl_vars['systemLang']['games']; ?>
</th>
    <th><?php echo $this->_tpl_vars['systemLang']['operate']; ?>
</th>
  </tr>
  </thead>
  <tbody>
  <?php $_from = $this->_tpl_vars['result']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['row']):
?>
   <tr class="row0">
   <td><input name="select_id[]" type="checkbox"  class="checkbox" value="<?php echo $this->_tpl_vars['row']['id']; ?>
" /></td>
    <td><?php echo $this->_tpl_vars['row']['id']; ?>
</td>
    <td><?php echo $this->_tpl_vars['row']['platform_name']; ?>
</td>
    <td><?php echo $this->_tpl_vars['row']['platform_code']; ?>
</td>
    <td><?php echo $this->_tpl_vars['row']['app_key']; ?>
</td>
    <td><?php echo $this->_tpl_vars['row']['app_secret']; ?>
</td>
    <td><select  name="games[]" style="width:100px">
	    <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['row']['platGames']), $this);?>

    </select></td> 
    <td>
        <a href="<?php echo @BASEURI; ?>
platform_manager/edit/<?php echo $this->_tpl_vars['row']['id']; ?>
"><?php echo $this->_tpl_vars['systemLang']['edit']; ?>
</a>&nbsp;
        <a href="<?php echo @BASEURI; ?>
platform_manager/delete/<?php echo $this->_tpl_vars['row']['id']; ?>
"><?php echo $this->_tpl_vars['systemLang']['del']; ?>
</a>
    </td>
  </tr>
  <?php endforeach; endif; unset($_from); ?>
  </tbody>
  <tfoot>
      <tr>
        <td colspan="2">
			<input type="button"  class="button" value="<?php echo $this->_tpl_vars['systemLang']['del']; ?>
" onclick="select_control('<?php echo @BASEURI; ?>
platform_manager/delete','<?php echo $this->_tpl_vars['systemLang']['confirmDel']; ?>
')"/>
			<input type="button"  class="button" value="<?php echo $this->_tpl_vars['systemLang']['add']; ?>
" onclick="button_location('<?php echo @BASEURI; ?>
platform_manager/add')" accesskey="N" />
		</td>
		<td><?php echo $this->_tpl_vars['page']; ?>
</td>
      </tr>
  </tfoot>
</table>
</form>